#!/usr/bin/env node

const userName = process.argv[2],
      passWord = process.argv[3];
console.log('userName',userName);
console.log('passWord',passWord);

var buf = new Buffer.from(userName +':'+passWord)
console.log('name and password',buf.toString());
console.log('name and password with base64',buf.toString('base64'));
console.log('name and password with hex',buf.toString('hex'));


